<template>
	<view class="bg-gray">
		<view class="wrapper width">
			<carousel :res="carouselImage" class="bgshare" height='380' />
			<view class=" main">
				<list :bg='bgimg' :list='courseList' title='课程名称' needtip='no' url='/pages/paint/paintdetail'></list>
			</view>
		</view>
	</view>
</template>
<script>
import tpl_banner from "@/pages/tabbar/roperty/template/tpl_banner"; //导航栏模块
import storage from "@/utils/storage.js"; //缓存
import list from "@/components/huashuiwan/list.vue";
import { getAudiovisual } from "@/api/movie";
export default {
	data() { 
		return {
			bgimg:'https://www.haopengsong.xyz/static/movie/shuyhuadetail.png',
			carouselImage:[
				{ name:'https://www.haopengsong.xyz/static/movie/shuhuabg.png'}
			],
			courseList:[
				{bannerImages:'http://43.138.30.146:8080/profile/upload/2025/02/12/蒙版组 477@2x_20250212232450A056.png',courseName:'书法初级班',remark:'书法初级班'},
				{bannerImages:'http://43.138.30.146:8080/profile/upload/2025/02/12/蒙版组 687@2x_20250212232525A057.png',courseName:'书法中级班',remark:'书法中级班'},
				{bannerImages:'http://43.138.30.146:8080/profile/upload/2025/02/12/蒙版组 708@2x_20250212232553A058.png',courseName:'书法高级班',remark:'书法高级班'}
			]
		};
	},
	components: {
		carousel: tpl_banner,
		list
	},
	/**
	 * 页面加载
	 */
	onLoad(options) {
		
	},
	/**
	 * 页面显示
	 */
	onShow() {
		
	},
	/**
	 * 触底事件
	 */
	onReachBottom() {
		
	},
	/**
	 * 下拉刷新
	 */
	onPullDownRefresh() {
		
	},
	/**
	 * 页面滚动
	 * @param {Object} e
	 */
	onPageScroll(e) {
		
	},
	mounted() {
		
	},
	methods: {
		jump(res){
			uni.navigateTo({
				url: res
			});
		}
	}
};
</script>

<style lang="scss" scoped>
/**去除scroll-view的滚动条*/
::-webkit-scrollbar {
	display: none;
	width: 0 !important;
	height: 0 !important;
	-webkit-appearance: none;
	background: transparent;
}
</style>